package cn.xjfcloud.onedriveserver.pojo;

import java.util.ArrayList;
import java.util.List;

public class FileInfo {

	private String filePath;
	private List<FileInfo> children;
	private Boolean isDirectory;
	private String title;
	private Integer id;

	public FileInfo() {
		children = new ArrayList<FileInfo>();
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public List<FileInfo> getChildren() {
		return children;
	}

	public void setChildren(List<FileInfo> children) {
		this.children = children;
	}

	public Boolean getIsDirectory() {
		return isDirectory;
	}

	public void setIsDirectory(Boolean isDirectory) {
		this.isDirectory = isDirectory;
	}
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "FileInfo [filePath=" + filePath + ", childFile=" + children + ", isDirectory=" + isDirectory + "]";
	}
	
}
